<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>Issue Test</title>
<script src="../../../dist/sea.js"></script>
</head>
<body>

<p>
  <a href="https://github.com/seajs/seajs/issues/166">#166</a>
</p>


<p>a.css should only be loaded once.</p>
<button id="test" style="padding: 5px 10px">click me to test</button>
<p id="css-test"></p>


<div id="out"></div>

<script>

  console = {
    log: function(txt, style) {

      var d = document.createElement('div');
      d.innerHTML = txt;
      d.className = style;
      document.getElementById('out').appendChild(d);
    }
  };

  seajs.use('./main');

</script>
</body>
</html>